package com.cdn.dns;

import com.cdn.common.security.annotation.EnableCustomConfig;
import com.cdn.common.security.annotation.EnableRyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@EnableCustomConfig
@EnableRyFeignClients
@SpringBootApplication
public class CdnDnsApplication {
    public static void main(String[] args)
    {
//        String CF_EMAIL = "jj@q-com.hk";
//        String CF_API_KEY = "725a080a5c5832186f7066c2a637b5708487b";
//        CloudflareAccess cfAccess = new CloudflareAccess(CF_API_KEY, CF_EMAIL);
//        CloudflareResponse<List<Zone>> response =
//                new CloudflareRequest( Category.LIST_ZONES, cfAccess )
//                        .asObjectList( Zone.class );
        SpringApplication.run(CdnDnsApplication.class, args);
        System.out.println("域名解析启动成功");
    }
}